<div class="secondtit2"><a href="{$data[0][url]}" title="{$data[0][title]}" target="_blank"><img src="/attachments{$r[thumb]}" /></a></div>